//
//  WBStatusToolBar.swift
//  WeiboSwift
//
//  Created by hfwd on 2017/6/8.
//  Copyright © 2017年 hfwd. All rights reserved.
//

import UIKit

class WBStatusToolBar: UIView {
    
    var viewModel: WBStatusViewModel? {
        
        didSet {
            
            fowardButton.setTitle(viewModel?.fowardStr, for: [])
            
            commentButton.setTitle(viewModel?.commentStr, for: [])
            
            favorButton.setTitle(viewModel?.favorStr, for: [])
        }
    }
    

    /// 转发按钮
    @IBOutlet weak var fowardButton: UIButton!
    
    /// 评论按钮
    @IBOutlet weak var commentButton: UIButton!
    
    /// 点赞按钮
    @IBOutlet weak var favorButton: UIButton!


}
